package org.jeecg.attachment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.attachment.entity.SysAttachment;

import java.io.Serializable;

/**
 * 攻防工具附件表
 * @author: qiang.zhou
 * @date: 2024/9/6 10:17
 **/
@Mapper
public interface SysAttachmentMapper extends BaseMapper<SysAttachment> {

    /**
     * 附件下载计数加一
     * @author: qiang.zhou
     * @date: 2024/9/13 15:14
     * @param id
     * @return int
     **/
    int incrDownloadTimes(@Param("id") Serializable id);


}
